<?php get_header(); ?>
	<div id="container">
		<?php if(have_posts()) : while (have_posts()) : the_post(); ?>
    		<div <?php post_class('post'); ?> id="post-<?php the_ID(); ?>">
             	<?php if (has_post_format('aside')) { ?>
             		<div class="cl">
                    	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php echo get_avatar($authordata->ID,'32');?></a>
                        <div class="entry-content"><?php the_content(__('Read more…')); ?></div>
                    </div>
			 	<?php }else{?>
                	<?php if ( comments_open() ) : ?>
            			<div class="comments-link">
            				<?php comments_popup_link('0°', '1°', '%°', ''); ?>
           				</div>
            		<?php endif;?>
             		<div class="post-titles">
            			<h2 class="entry-title"><a class="post-title" href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php if( is_sticky() ) echo '[置顶]'; the_title(); ?></a><?php edit_post_link(__('edit')); ?></h2>
            			<div class="entry-meta"><?php the_time('Y-m-d'); ?> <span style="color:#eCeCeC">|</span> Posted in <?php the_category(',') ?> <?php the_tags('<span style="color:#eCeCeC">|</span> Tags: ', ', ', ''); ?></div>
            		</div>
            		<div class="entry-content">
						<?php the_content(__('Read more…')); ?>
                        <?php wp_link_pages(); ?>
            		</div>
				<?php } ?>
        	</div>
    	<?php endwhile; endif; ?>
    	<?php if (function_exists('pagenavi')) { pagenavi(); } else { posts_nav_link(); } dynamic_sidebar('footer-sidebar');?>
	</div>
<?php get_footer(); ?>